package com.tanhua.commons.constants;

/**
 * 定义常量
 * @author Xiao
 * @date 2021/10/27
 */
public class Constants {
    //手机APP短信验证码CHECK_CODE_
    public static final String SMS_CODE = "CHECK_CODE_";
    //后台管理账号密码登陆验证码CAP_CODE
    public static final String CAP_CODE = "CAP_CODE_";

    //推荐动态
    public static final String MOVEMENTS_RECOMMEND = "MOVEMENTS_RECOMMEND_";

    //推荐视频
    public static final String VIDEOS_RECOMMEND = "VIDEOS_RECOMMEND_";

    //圈子互动KEY
    public static final String MOVEMENTS_INTERACT_KEY = "MOVEMENTS_INTERACT_";

    //视频互动KEY
    public static final String VIDEOS_INTERACT_KEY = "MOVEMENTS_INTERACT_";

    //动态点赞用户HashKey
    public static final String MOVEMENT_LIKE_HASHKEY = "MOVEMENT_LIKE_";

    //动态喜欢用户HashKey
    public static final String MOVEMENT_LOVE_HASHKEY = "MOVEMENT_LOVE_";

    //视频点赞用户HashKey
    public static final String VIDEO_LIKE_HASHKEY = "VIDEO_LIKE";

    //视频关注用户HashKey
    public static final String VIDEO_FOCUS_HASHKEY = "VIDEO_FOCUS_";

    //访问用户
    public static final String VISITORS_USER = "VISITORS_USER";

    //关注用户
    public static final String FOCUS_USER = "FOCUS_USER_{}_{}";

    //初始化密码
    public static final String INIT_PASSWORD = "123456";

    //环信用户前缀
    public static final String HX_USER_PREFIX = "hx";

    //jwt加密盐
    public static final String JWT_SECRET = "itcast";

    //jwt超时时间
    public static final int JWT_TIME_OUT = 3600;

    //喜欢用户(右滑)
    public static final String USER_LOVE_KEY = "USER_LOVE_SET_";

    //不喜欢用户(左滑)
    public static final String USER_UNLOVE_KEY = "USER_UNLOVE_SET_";

    //冻结用户
    public static final String USER_FREEZE = "USER_FREEZE_";
}
